using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;

using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.CLR.Utils;
using System.Linq;

namespace ILRuntime.Runtime.Generated
{
    unsafe class huqiang_Core_UIData_HTextData_Binding
    {
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            FieldInfo field;
            Type[] args;
            Type type = typeof(huqiang.Core.UIData.HTextData);

            field = type.GetField("graphicsData", flag);
            app.RegisterCLRFieldGetter(field, get_graphicsData_0);
            app.RegisterCLRFieldSetter(field, set_graphicsData_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_graphicsData_0, AssignFromStack_graphicsData_0);
            field = type.GetField("text", flag);
            app.RegisterCLRFieldGetter(field, get_text_1);
            app.RegisterCLRFieldSetter(field, set_text_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_text_1, AssignFromStack_text_1);
            field = type.GetField("font", flag);
            app.RegisterCLRFieldGetter(field, get_font_2);
            app.RegisterCLRFieldSetter(field, set_font_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_font_2, AssignFromStack_font_2);
            field = type.GetField("pivot", flag);
            app.RegisterCLRFieldGetter(field, get_pivot_3);
            app.RegisterCLRFieldSetter(field, set_pivot_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_pivot_3, AssignFromStack_pivot_3);
            field = type.GetField("m_hof", flag);
            app.RegisterCLRFieldGetter(field, get_m_hof_4);
            app.RegisterCLRFieldSetter(field, set_m_hof_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_m_hof_4, AssignFromStack_m_hof_4);
            field = type.GetField("m_vof", flag);
            app.RegisterCLRFieldGetter(field, get_m_vof_5);
            app.RegisterCLRFieldSetter(field, set_m_vof_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_m_vof_5, AssignFromStack_m_vof_5);
            field = type.GetField("anchor", flag);
            app.RegisterCLRFieldGetter(field, get_anchor_6);
            app.RegisterCLRFieldSetter(field, set_anchor_6);
            app.RegisterCLRFieldBinding(field, CopyToStack_anchor_6, AssignFromStack_anchor_6);
            field = type.GetField("m_richText", flag);
            app.RegisterCLRFieldGetter(field, get_m_richText_7);
            app.RegisterCLRFieldSetter(field, set_m_richText_7);
            app.RegisterCLRFieldBinding(field, CopyToStack_m_richText_7, AssignFromStack_m_richText_7);
            field = type.GetField("m_lineSpace", flag);
            app.RegisterCLRFieldGetter(field, get_m_lineSpace_8);
            app.RegisterCLRFieldSetter(field, set_m_lineSpace_8);
            app.RegisterCLRFieldBinding(field, CopyToStack_m_lineSpace_8, AssignFromStack_m_lineSpace_8);
            field = type.GetField("m_charSpace", flag);
            app.RegisterCLRFieldGetter(field, get_m_charSpace_9);
            app.RegisterCLRFieldSetter(field, set_m_charSpace_9);
            app.RegisterCLRFieldBinding(field, CopyToStack_m_charSpace_9, AssignFromStack_m_charSpace_9);
            field = type.GetField("m_fontSize", flag);
            app.RegisterCLRFieldGetter(field, get_m_fontSize_10);
            app.RegisterCLRFieldSetter(field, set_m_fontSize_10);
            app.RegisterCLRFieldBinding(field, CopyToStack_m_fontSize_10, AssignFromStack_m_fontSize_10);
            field = type.GetField("m_align", flag);
            app.RegisterCLRFieldGetter(field, get_m_align_11);
            app.RegisterCLRFieldSetter(field, set_m_align_11);
            app.RegisterCLRFieldBinding(field, CopyToStack_m_align_11, AssignFromStack_m_align_11);
            field = type.GetField("m_fontStyle", flag);
            app.RegisterCLRFieldGetter(field, get_m_fontStyle_12);
            app.RegisterCLRFieldSetter(field, set_m_fontStyle_12);
            app.RegisterCLRFieldBinding(field, CopyToStack_m_fontStyle_12, AssignFromStack_m_fontStyle_12);
            field = type.GetField("sizeFitter", flag);
            app.RegisterCLRFieldGetter(field, get_sizeFitter_13);
            app.RegisterCLRFieldSetter(field, set_sizeFitter_13);
            app.RegisterCLRFieldBinding(field, CopyToStack_sizeFitter_13, AssignFromStack_sizeFitter_13);
            field = type.GetField("OutLine", flag);
            app.RegisterCLRFieldGetter(field, get_OutLine_14);
            app.RegisterCLRFieldSetter(field, set_OutLine_14);
            app.RegisterCLRFieldBinding(field, CopyToStack_OutLine_14, AssignFromStack_OutLine_14);
            field = type.GetField("Size", flag);
            app.RegisterCLRFieldGetter(field, get_Size_15);
            app.RegisterCLRFieldSetter(field, set_Size_15);
            app.RegisterCLRFieldBinding(field, CopyToStack_Size_15, AssignFromStack_Size_15);
            field = type.GetField("ElementSize", flag);
            app.RegisterCLRFieldGetter(field, get_ElementSize_16);
            app.RegisterCLRFieldSetter(field, set_ElementSize_16);
            app.RegisterCLRFieldBinding(field, CopyToStack_ElementSize_16, AssignFromStack_ElementSize_16);

            app.RegisterCLRMemberwiseClone(type, PerformMemberwiseClone);

            app.RegisterCLRCreateDefaultInstance(type, () => new huqiang.Core.UIData.HTextData());
            app.RegisterCLRCreateArrayInstance(type, s => new huqiang.Core.UIData.HTextData[s]);


        }

        static void WriteBackInstance(ILRuntime.Runtime.Enviorment.AppDomain __domain, StackObject* ptr_of_this_method, IList<object> __mStack, ref huqiang.Core.UIData.HTextData instance_of_this_method)
        {
            ptr_of_this_method = ILIntepreter.GetObjectAndResolveReference(ptr_of_this_method);
            switch(ptr_of_this_method->ObjectType)
            {
                case ObjectTypes.Object:
                    {
                        __mStack[ptr_of_this_method->Value] = instance_of_this_method;
                    }
                    break;
                case ObjectTypes.FieldReference:
                    {
                        var ___obj = __mStack[ptr_of_this_method->Value];
                        if(___obj is ILTypeInstance)
                        {
                            ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = instance_of_this_method;
                        }
                        else
                        {
                            var t = __domain.GetType(___obj.GetType()) as CLRType;
                            t.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, instance_of_this_method);
                        }
                    }
                    break;
                case ObjectTypes.StaticFieldReference:
                    {
                        var t = __domain.GetType(ptr_of_this_method->Value);
                        if(t is ILType)
                        {
                            ((ILType)t).StaticInstance[ptr_of_this_method->ValueLow] = instance_of_this_method;
                        }
                        else
                        {
                            ((CLRType)t).SetStaticFieldValue(ptr_of_this_method->ValueLow, instance_of_this_method);
                        }
                    }
                    break;
                 case ObjectTypes.ArrayReference:
                    {
                        var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as huqiang.Core.UIData.HTextData[];
                        instance_of_arrayReference[ptr_of_this_method->ValueLow] = instance_of_this_method;
                    }
                    break;
            }
        }


        static object get_graphicsData_0(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).graphicsData;
        }

        static StackObject* CopyToStack_graphicsData_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).graphicsData;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_graphicsData_0(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.graphicsData = (huqiang.Core.UIData.HGraphicsData)v;
            o = ins;
        }

        static StackObject* AssignFromStack_graphicsData_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Core.UIData.HGraphicsData @graphicsData = (huqiang.Core.UIData.HGraphicsData)typeof(huqiang.Core.UIData.HGraphicsData).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.graphicsData = @graphicsData;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_text_1(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).text;
        }

        static StackObject* CopyToStack_text_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).text;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_text_1(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.text = (System.Int32)v;
            o = ins;
        }

        static StackObject* AssignFromStack_text_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @text = ptr_of_this_method->Value;
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.text = @text;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_font_2(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).font;
        }

        static StackObject* CopyToStack_font_2(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).font;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_font_2(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.font = (System.Int32)v;
            o = ins;
        }

        static StackObject* AssignFromStack_font_2(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @font = ptr_of_this_method->Value;
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.font = @font;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_pivot_3(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).pivot;
        }

        static StackObject* CopyToStack_pivot_3(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).pivot;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_pivot_3(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.pivot = (UnityEngine.Vector2)v;
            o = ins;
        }

        static StackObject* AssignFromStack_pivot_3(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.Vector2 @pivot = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.pivot = @pivot;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_m_hof_4(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).m_hof;
        }

        static StackObject* CopyToStack_m_hof_4(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).m_hof;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_m_hof_4(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_hof = (UnityEngine.HorizontalWrapMode)v;
            o = ins;
        }

        static StackObject* AssignFromStack_m_hof_4(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.HorizontalWrapMode @m_hof = (UnityEngine.HorizontalWrapMode)typeof(UnityEngine.HorizontalWrapMode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_hof = @m_hof;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_m_vof_5(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).m_vof;
        }

        static StackObject* CopyToStack_m_vof_5(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).m_vof;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_m_vof_5(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_vof = (UnityEngine.VerticalWrapMode)v;
            o = ins;
        }

        static StackObject* AssignFromStack_m_vof_5(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.VerticalWrapMode @m_vof = (UnityEngine.VerticalWrapMode)typeof(UnityEngine.VerticalWrapMode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_vof = @m_vof;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_anchor_6(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).anchor;
        }

        static StackObject* CopyToStack_anchor_6(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).anchor;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_anchor_6(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.anchor = (UnityEngine.TextAnchor)v;
            o = ins;
        }

        static StackObject* AssignFromStack_anchor_6(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.TextAnchor @anchor = (UnityEngine.TextAnchor)typeof(UnityEngine.TextAnchor).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.anchor = @anchor;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_m_richText_7(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).m_richText;
        }

        static StackObject* CopyToStack_m_richText_7(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).m_richText;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_m_richText_7(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_richText = (System.Boolean)v;
            o = ins;
        }

        static StackObject* AssignFromStack_m_richText_7(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @m_richText = ptr_of_this_method->Value == 1;
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_richText = @m_richText;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_m_lineSpace_8(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).m_lineSpace;
        }

        static StackObject* CopyToStack_m_lineSpace_8(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).m_lineSpace;
            __ret->ObjectType = ObjectTypes.Float;
            *(float*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_m_lineSpace_8(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_lineSpace = (System.Single)v;
            o = ins;
        }

        static StackObject* AssignFromStack_m_lineSpace_8(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Single @m_lineSpace = *(float*)&ptr_of_this_method->Value;
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_lineSpace = @m_lineSpace;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_m_charSpace_9(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).m_charSpace;
        }

        static StackObject* CopyToStack_m_charSpace_9(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).m_charSpace;
            __ret->ObjectType = ObjectTypes.Float;
            *(float*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_m_charSpace_9(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_charSpace = (System.Single)v;
            o = ins;
        }

        static StackObject* AssignFromStack_m_charSpace_9(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Single @m_charSpace = *(float*)&ptr_of_this_method->Value;
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_charSpace = @m_charSpace;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_m_fontSize_10(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).m_fontSize;
        }

        static StackObject* CopyToStack_m_fontSize_10(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).m_fontSize;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_m_fontSize_10(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_fontSize = (System.Int32)v;
            o = ins;
        }

        static StackObject* AssignFromStack_m_fontSize_10(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @m_fontSize = ptr_of_this_method->Value;
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_fontSize = @m_fontSize;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_m_align_11(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).m_align;
        }

        static StackObject* CopyToStack_m_align_11(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).m_align;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_m_align_11(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_align = (System.Boolean)v;
            o = ins;
        }

        static StackObject* AssignFromStack_m_align_11(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @m_align = ptr_of_this_method->Value == 1;
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_align = @m_align;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_m_fontStyle_12(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).m_fontStyle;
        }

        static StackObject* CopyToStack_m_fontStyle_12(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).m_fontStyle;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_m_fontStyle_12(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_fontStyle = (UnityEngine.FontStyle)v;
            o = ins;
        }

        static StackObject* AssignFromStack_m_fontStyle_12(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.FontStyle @m_fontStyle = (UnityEngine.FontStyle)typeof(UnityEngine.FontStyle).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.m_fontStyle = @m_fontStyle;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_sizeFitter_13(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).sizeFitter;
        }

        static StackObject* CopyToStack_sizeFitter_13(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).sizeFitter;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_sizeFitter_13(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.sizeFitter = (huqiang.Core.UIData.ContentSizeFitter)v;
            o = ins;
        }

        static StackObject* AssignFromStack_sizeFitter_13(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Core.UIData.ContentSizeFitter @sizeFitter = (huqiang.Core.UIData.ContentSizeFitter)typeof(huqiang.Core.UIData.ContentSizeFitter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.sizeFitter = @sizeFitter;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_OutLine_14(ref object o)
        {
            return ((huqiang.Core.UIData.HTextData)o).OutLine;
        }

        static StackObject* CopyToStack_OutLine_14(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.UIData.HTextData)o).OutLine;
            __ret->ObjectType = ObjectTypes.Float;
            *(float*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_OutLine_14(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.OutLine = (System.Single)v;
            o = ins;
        }

        static StackObject* AssignFromStack_OutLine_14(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Single @OutLine = *(float*)&ptr_of_this_method->Value;
            huqiang.Core.UIData.HTextData ins =(huqiang.Core.UIData.HTextData)o;
            ins.OutLine = @OutLine;
            o = ins;
            return ptr_of_this_method;
        }

        static object get_Size_15(ref object o)
        {
            return huqiang.Core.UIData.HTextData.Size;
        }

        static StackObject* CopyToStack_Size_15(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.Core.UIData.HTextData.Size;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_Size_15(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData.Size = (System.Int32)v;
        }

        static StackObject* AssignFromStack_Size_15(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @Size = ptr_of_this_method->Value;
            huqiang.Core.UIData.HTextData.Size = @Size;
            return ptr_of_this_method;
        }

        static object get_ElementSize_16(ref object o)
        {
            return huqiang.Core.UIData.HTextData.ElementSize;
        }

        static StackObject* CopyToStack_ElementSize_16(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.Core.UIData.HTextData.ElementSize;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_ElementSize_16(ref object o, object v)
        {
            huqiang.Core.UIData.HTextData.ElementSize = (System.Int32)v;
        }

        static StackObject* AssignFromStack_ElementSize_16(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @ElementSize = ptr_of_this_method->Value;
            huqiang.Core.UIData.HTextData.ElementSize = @ElementSize;
            return ptr_of_this_method;
        }


        static object PerformMemberwiseClone(ref object o)
        {
            var ins = new huqiang.Core.UIData.HTextData();
            ins = (huqiang.Core.UIData.HTextData)o;
            return ins;
        }


    }
}
